//
//  API_Multithreading_Demo1VC.swift
//  APSwift
//
//  Created by jianbo.pei on 2022/4/4.
//

import UIKit

class API_Multithreading_Demo1VC: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        test1()
    }
    
    private func test1() {
        DispatchQueue.global().async { [self] in
            print("111")
            perform(#selector(test1Selector))
        }
        print("333")
    }
    
    @objc private func test1Selector() {
        print("222")
    }

}
